// 传递数据文件
import { createContext } from 'react'

const CreateContext = createContext()

export const Context = (props) => {
  return (
    <CreateContext.Provider value={props.value}>
      { props.children }
    </CreateContext.Provider>
  )
}